export function asyncify(func: Function) {
    return setTimeout(func, 0)
}

export function promiseify(func: Function) {
    func();
    return Promise.resolve();
}